<!DOCTYPE html>
<html lang='zh-CN'>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
<style>

</style>
</head>
<body>

<script>
     const arr = [
            {
                "手机号": 15751786628,
                "姓名": "张飞1",
                "入职日期": 43535,
                "转正日期": 43719,
                "工号": 88088
            },
            {
                "手机号": 15751786630,
                "姓名": "关羽2",
                "入职日期": 43535,
                "转正日期": 43719,
                "工号": 88089
            }
        ]
        const userRelations = {
            '入职日期': 'timeOfEntry',
            '手机号': 'mobile',
            '姓名': 'username',
            '转正日期': 'correctionTime',
            '工号': 'workNumber'
        }
        const data = []
        arr.forEach((item) => {
            const obj = {}
            for (const [key, value] of Object.entries(item)) {
                obj[userRelations[key]] = value
            }
            data.push(obj)
        })
        console.log(data)
</script>
</body>
</html>